# Authors : Katrina Payne
# Project : PokeZX
# License : Documentation/LICENSE.txt
# File    : core/Library/ErrorZX.py
# Purpose :
# Setup basic errors for inside the various classes of PokeZX core

class ErrorZX(Exception):
    """ Basic error type... however, it does not really tell you what is
    wrong until you read it.
    """
    def __init__(self, value):
        self.value = value
    def __str__(self):
        return repr(self.value)

class unset_var(ErrorZX):
    """ Error type for if somebody is trying to use a variable that 
    hasn't been set, but _needs_ to be set to operate.
    """
    def __init__(self, value):
        pass
    

